package com.example.redistest.ThreadDemo;

public class Processor2 extends Thread {
    @Override
    public void run() {
        for (int i=0; i<10; i++) {
            System.out.println(Thread.currentThread().getName()+"--->"+i);
        }
    }
}
